import request from '@/utils/request'

export function getAnnouncementList (data) {
  return request({
    url: '/api/setting/announcement/index',
    method: 'post',
    data
  })
}

export function saveAnnouncement (data) {
  return request({
    url: '/api/setting/announcement/save',
    method: 'post',
    data
  })
}

export function deleteAnnouncement (data) {
  return request({
    url: '/api/setting/announcement/delete',
    method: 'post',
    data
  })
}
